home *** CD-ROM | disk | FTP | other *** search
- ;; ml-itrans.mim -- Malayalam input method with ITRANS method
- ;; Copyright (C) 2003, 2004, 2005, 2006, 2007
- ;; National Institute of Advanced Industrial Science and Technology (AIST)
- ;; Registration Number H15PRO112
-
- ;; This file is part of the m17n database; a sub-part of the m17n
- ;; library.
-
- ;; The m17n library is free software; you can redistribute it and/or
- ;; modify it under the terms of the GNU Lesser General Public License
- ;; as published by the Free Software Foundation; either version 2.1 of
- ;; the License, or (at your option) any later version.
-
- ;; The m17n library is distributed in the hope that it will be useful,
- ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- ;; Lesser General Public License for more details.
-
- ;; You should have received a copy of the GNU Lesser General Public
- ;; License along with the m17n library; if not, write to the Free
- ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- ;; Boston, MA 02110-1301, USA.
-
- (input-method ml itrans)
-
- (description "Malayalam input method by ITRANS transliteration.
- For the detail of ITRANS, see the page:
- <http://www.aczoom.com/itrans/>
- ")
-
- (title "ക")
-
- (map
- (starter
- (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
- ("0") ("1") ("2") ("3") ("4")
- ("5") ("6") ("7") ("8") ("9")
- ("A") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
- ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
- ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
- ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
- ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
- ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
- ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
-
- (consonant
- ("k" "ക്")
- ("kh" "ഖ്")
- ("g" "ഗ്")
- ("gh" "ഘ്")
- ("~N" "ങ്")
- ("N^" "ങ്")
- ("ch" "ച്")
- ("Ch" "ഛ്")
- ("chh" "ഛ്")
- ("j" "ജ്")
- ("jh" "ഝ്")
- ("~n" "ഞ്")
- ("JN" "ഞ്")
- ("T" "ട്")
- ("Th" "ഠ്")
- ("D" "ഡ്")
- ("Dh" "ഢ്")
- ("N" "ണ്")
- ("t" "ത്")
- ("th" "ഥ്")
- ("d" "ദ്")
- ("dh" "ധ്")
- ("n" "ന്")
- ("p" "പ്")
- ("ph" "ഫ്")
- ("b" "ബ്")
- ("bh" "ഭ്")
- ("m" "മ്")
- ("y" "യ്")
- ("r" "ര്")
- ("rh" "റ്")
- ("l" "ല്")
- ("L" "ള്")
- ("ld" "ള്")
- ("v" "വ്")
- ("w" "വ്")
- ("sh" "ശ്")
- ("Sh" "ഷ്")
- ("shh" "ഷ്")
- ("s" "സ്")
- ("h" "ഹ്")
- ("GY" "ജ്ഞ്")
- ("dny" "ജ്ഞ്")
- ("x" "ക്ഷ്"))
-
- (independent
- ("a" "അ")
- ("aa" "ആ")
- ("A" "ആ")
- ("i" "ഇ")
- ("ii" "ഈ")
- ("I" "ഈ")
- ("u" "ഉ")
- ("uu" "ഊ")
- ("U" "ഊ")
- ("RRi" "ഋ")
- ("R^i" "ഋ")
- ("LLi" "ഌ")
- ("L^i" "ഌ")
- ("e" "എ")
- ("E" "ഏ")
- ("ee" "ഏ")
- ("ai" "ഐ")
- ("o" "ഒ")
- ("oo" "ഓ")
- ("O" "ഓ")
- ("au" "ഔ")
- (".n" "ം")
- ("M" "ം")
- ("H" "ഃ")
- (".h" "്")
- ("0" "൦")
- ("1" "൧")
- ("2" "൨")
- ("3" "൩")
- ("4" "൪")
- ("5" "൫")
- ("6" "൬")
- ("7" "൭")
- ("8" "൮")
- ("9" "൯")
- ("#" "്ര")
- ("$" "ര്")
- ("^" "ത്ര")
- ("*" "ശ്ര")
- ((KP_1) "൧")
- ((KP_2) "൨")
- ((KP_3) "൩")
- ((KP_4) "൪")
- ((KP_5) "൫")
- ((KP_6) "൬")
- ((KP_7) "൭")
- ((KP_8) "൮")
- ((KP_9) "൯")
- ((KP_0) "൦")
- ((S-\ ) "ΓÇî")
- ((C-@) "ΓÇì"))
-
- (dependent
- ("a" (delete @-) "")
- ("aa" (delete @-) "α┤╛")
- ("A" (delete @-) "α┤╛")
- ("i" (delete @-) "α┤┐")
- ("ii" (delete @-) "ീ")
- ("I" (delete @-) "ീ")
- ("u" (delete @-) "ു")
- ("uu" (delete @-) "ൂ")
- ("U" (delete @-) "ൂ")
- ("RRi" (delete @-) "ൃ")
- ("R^i" (delete @-) "ൃ")
- ("LLi" (delete @-) "")
- ("L^i" (delete @-) "")
- ("e" (delete @-) "െ")
- ("ee" (delete @-) "േ")
- ("E" (delete @-) "േ")
- ("ai" (delete @-) "ൈ")
- ("o" (delete @-) "ൊ")
- ("oo" (delete @-) "ോ")
- ("O" (delete @-) "ോ")
- ("au" (delete @-) "ൌ"))
-
- (return
- ((Return)))
-
- (backspace
- ((BackSpace) (undo))))
-
- (state
- (init
- (starter (pushback 1) (shift intermediate)))
-
- (intermediate
- (consonant (shift second))
- (independent (shift init))
- (backspace)
- (return (shift init)))
-
- (second
- (consonant)
- (dependent (shift init))
- (backspace)
- (return (shift init))))
-
- ;; Local Variables:
- ;; coding: utf-8
- ;; mode: emacs-lisp
- ;; End:
-